package com.rtx.edi.model.application.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 应用字段信息表 
 * </p>
 *
 * @author wq
 * @since 2023-03-16
 */
@TableName("pl_application_field")
@ApiModel(value = "PlApplicationField对象", description = "应用字段信息表 ")
public class PlApplicationField extends BaseEntity {

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("应用id")
    private Long applicationId;

    @ApiModelProperty("应用编号")
    private String applicationNo;

    @ApiModelProperty("应用名称")
    private String applicationName;

    @ApiModelProperty("字段code")
    private String fieldCode;

    @ApiModelProperty("字段名称")
    private String fieldName;

    @ApiModelProperty("字段数据类型(int/varchar32/datetime/bigint)")
    private Integer fieldDataType;

    @ApiModelProperty("字段类型(普通字段/数据字典)")
    private Integer fieldType;

    @ApiModelProperty("字段长度")
    private Integer fieldLength;

    @ApiModelProperty("字段描述")
    private String fieldDesc;


    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(Long applicationId) {
        this.applicationId = applicationId;
    }

    public String getApplicationNo() {
        return applicationNo;
    }

    public void setApplicationNo(String applicationNo) {
        this.applicationNo = applicationNo;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getFieldCode() {
        return fieldCode;
    }

    public void setFieldCode(String fieldCode) {
        this.fieldCode = fieldCode;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public Integer getFieldDataType() {
        return fieldDataType;
    }

    public void setFieldDataType(Integer fieldDataType) {
        this.fieldDataType = fieldDataType;
    }

    public Integer getFieldType() {
        return fieldType;
    }

    public void setFieldType(Integer fieldType) {
        this.fieldType = fieldType;
    }

    public Integer getFieldLength() {
        return fieldLength;
    }

    public void setFieldLength(Integer fieldLength) {
        this.fieldLength = fieldLength;
    }

    public String getFieldDesc() {
        return fieldDesc;
    }

    public void setFieldDesc(String fieldDesc) {
        this.fieldDesc = fieldDesc;
    }

    @Override
    public String toString() {
        return "PlApplicationField{" +
        "companyId=" + companyId +
        ", applicationId=" + applicationId +
        ", applicationNo=" + applicationNo +
        ", applicationName=" + applicationName +
        ", fieldCode=" + fieldCode +
        ", fieldName=" + fieldName +
        ", fieldDataType=" + fieldDataType +
        ", fieldType=" + fieldType +
        ", fieldLength=" + fieldLength +
        ", fieldDesc=" + fieldDesc +
        "}";
    }
}
